package com.lzb.party.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzb.party.entity.Notice;
import com.lzb.party.mapper.NoticeMapper;
import org.springframework.stereotype.Service;

@Service
public class NoticeService extends ServiceImpl<NoticeMapper, Notice> {

    //Mybatis plus
    public boolean saveNotice(Notice notice){
        return saveOrUpdate(notice);
    }
}
